-- GENERATED SPELL FOR [Murderous Blisterpaw] --


function spell0_8208(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8208', 15000, 1)
end

function spell1_8208(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_8208', 570, 1)
end

function Sorts_8208(pUnit, Event)
local choix_sorts_8208 = math.random(0, 1)
if choix_sorts_8208 == 0 then
pUnit:RegisterEvent('spell0_8208', 1, 1)
end
if choix_sorts_8208 == 1 then
pUnit:RegisterEvent('spell1_8208', 1, 1)
end
end

function mob8208_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8208', math.random(1500, 3000), 1)
end

function mob8208_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8208_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8208_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8208, 1, 'mob8208_Action')
RegisterUnitEvent(8208, 2, 'mob8208_Leave')
RegisterUnitEvent(8208, 3, 'mob8208_Kill')
RegisterUnitEvent(8208, 4, 'mob8208_Die')
